package com.wwj.springboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName(value = "cmfz_log")
public class CmfzLog {
    public static final String COL_LOG_ID = "log_id";
    public static final String COL_USERNAME = "username";
    public static final String COL_LOG_DATE = "log_date";
    public static final String COL_LOG_IP = "log_ip";
    public static final String COL_LOG_TYPE = "log_type";
    public static final String COL_LOG_CONTENT = "log_content";
    @TableId(value = "log_id", type = IdType.AUTO)
    private Integer logId;
    @TableField(value = "username")
    private String username;
    @TableField(value = "log_date")
    private Date logDate;
    @TableField(value = "log_ip")
    private String logIp;
    @TableField(value = "log_type")
    private String logType;
    @TableField(value = "log_content")
    private String logContent;
}